/*
 * User: rant
 * Date: Aug 6, 2007
 *
 *
 */
package laMalinche.propertyChangeAdapters.rules;

import laMalinche.rete.rule.ActionType;
import laMalinche.rete.rule.FieldAction;

/**
 *
 */
public abstract class BasicFieldAction implements FieldAction {
	private final String ognl;
	private final String name;

	protected BasicFieldAction(String ognl, String name) {
		this.ognl = ognl;
		this.name = name;
	}

	public String getFieldOgnl() {
		return ognl;
	}

	public ActionType getActionType() {
		return ActionType.other;
	}

    public String getName() {
		return name;
	}
}